------------------------------------------------------------------------------------------------------------------------------- name: log: C:\Users\Parker\Documents\Courses\312\312 Spring 2020\MC Class Demo\Class Log.log log type: text opened on: 5 Feb 2020, 12:42:00 . use "C:\Users\Parker\Documents\Courses\312\312 Spring 2020\MC Class Demo\MC Class Demo.dta" . do "C:\Users\Parker\Documents\Courses\312\312 Spring 2020\MC Class Demo\olstest20.do" . program olstest20 1. gen u=rnormal(0,0.3) 2. gen y=10+3*x+u 3. regress y x 4. drop y u 5. end . end of do-file . simulate b=_b[x] , reps(5000): olstest20 command: olstest20 b: _b[x] Simulations (5000) ----+--- 1 ---+--- 2 ---+--- 3 ---+--- 4 ---+--- 5 .................................................. 50 .................................................. 100 .................................................. 150 .................................................. 200 .................................................. 250 .................................................. 300 .................................................. 350 .................................................. 400 .................................................. 450 .................................................. 500 .................................................. 550 .................................................. 600 .................................................. 650 .................................................. 700 .................................................. 750 .................................................. 800 .................................................. 850 .................................................. 900 .................................................. 950 .................................................. 1000 .................................................. 1050 .................................................. 1100 .................................................. 1150 .................................................. 1200 .................................................. 1250 .................................................. 1300 .................................................. 1350 .................................................. 1400 .................................................. 1450 .................................................. 1500 .................................................. 1550 .................................................. 1600 .................................................. 1650 .................................................. 1700 .................................................. 1750 .................................................. 1800 .................................................. 1850 .................................................. 1900 .................................................. 1950 .................................................. 2000 .................................................. 2050 .................................................. 2100 .................................................. 2150 .................................................. 2200 .................................................. 2250 .................................................. 2300 .................................................. 2350 .................................................. 2400 .................................................. 2450 .................................................. 2500 .................................................. 2550 .................................................. 2600 .................................................. 2650 .................................................. 2700 .................................................. 2750 .................................................. 2800 .................................................. 2850 .................................................. 2900 .................................................. 2950 .................................................. 3000 .................................................. 3050 .................................................. 3100 .................................................. 3150 .................................................. 3200 .................................................. 3250 .................................................. 3300 .................................................. 3350 .................................................. 3400 .................................................. 3450 .................................................. 3500 .................................................. 3550 .................................................. 3600 .................................................. 3650 .................................................. 3700 .................................................. 3750 .................................................. 3800 .................................................. 3850 .................................................. 3900 .................................................. 3950 .................................................. 4000 .................................................. 4050 .................................................. 4100 .................................................. 4150 .................................................. 4200 .................................................. 4250 .................................................. 4300 .................................................. 4350 .................................................. 4400 .................................................. 4450 .................................................. 4500 .................................................. 4550 .................................................. 4600 .................................................. 4650 .................................................. 4700 .................................................. 4750 .................................................. 4800 .................................................. 4850 .................................................. 4900 .................................................. 4950 .................................................. 5000 . summ b Variable | Obs Mean Std. Dev. Min Max -------------+--------------------------------------------------------- b | 5,000 2.996717 .1405901 2.516112 3.531067 . hist b (bin=36, start=2.5161119, width=.0281932) . centile b , centile(2.5 50 97.5) -- Binom. Interp. -- Variable | Obs Percentile Centile [95% Conf. Interval] -------------+------------------------------------------------------------- b | 5,000 2.5 2.726465 2.712546 2.738868 | 50 2.995281 2.990467 2.999579 | 97.5 3.272151 3.261421 3.284387 . log close name: log: C:\Users\Parker\Documents\Courses\312\312 Spring 2020\MC Class Demo\Class Log.log log type: text closed on: 5 Feb 2020, 12:45:30 -------------------------------------------------------------------------------------------------------------------------------